package com.bite.ojsystem.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bite.ojcommoncore.domain.entity.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tb_sys_user")
public class SysUser extends BaseEntity {

    // 指定id根据雪花算法生成
    @TableId(value = "USER_ID" ,type = IdType.ASSIGN_ID)
    private Long userId;

    private String userAccount;

    private String password;

    private String nickName;




}
